<template>
  <a-card title="节点附加单据" :bodyStyle="{paddingTop:'0px'}">
    <k-form-build ref="kfd" :value="JSON.parse(taskData.appendForm.formJson)" :disabled="disabledAll" />
  </a-card>
</template>

<script>
export default {
  name: 'nodeKdf',
  data() {
    return {
      processData: {
        formJson: {},
        formData: {}
      }
    }
  },
  props: {
    taskData: {
      type: Object,
      default: () => {}
    },
    disabledAll: {
      type: Boolean,
      default: false
    }
  },
  methods: {
    getKdfData() {
      return this.$refs.kfd.getData()
    }
  }
}
</script>
